package com.uchiha.nova.core.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 微信小程序用户信息  模型VO
 *
 * @author magic
 */
@Data
@EqualsAndHashCode
@Schema(description = "Wechater对象的VO")
public class WechaterVO implements Serializable {

	private static final long serialVersionUID = 1L;
    @Schema(description = "主键id,自动生成")
    private Long id;
	/**
	 * user_id 雪花算法主键
	 */
    @Schema(description = "user_id 雪花算法主键")
	private Long userId;
	/**
	 * openid
	 */
    @Schema(description = "openid")
	private String openId;
	/**
	 * 微信唯一id
	 */
    @Schema(description = "微信唯一id")
	private String unionId;
	/**
	 * 手机号
	 */
    @Schema(description = "手机号")
	private String mobile;

	/**
	 * 租户
	 */
	@Schema(description = "租户")
	private String tenant;
}
